package com.qiujie.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;


@Getter
@Setter
@TableName("user_config")
public class Config implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("type")
    @TableField(value = "type")
    private Integer type;

    @ApiModelProperty("配置名称")
    @TableField(value = "config_name")
    private String configName;

    @ApiModelProperty("配置描述")
    @TableField(value = "config_desc")
    private String configDesc;

    @ApiModelProperty("配置分数")
    @TableField(value = "config_score")
    private Integer configScore;

}
